package com.foodost.cwpstrokes;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Table;

@Table(name="Hanzi")
public class Hanzi {
    
    @Id(column="id")
    private int id;
    private String word;//汉字
    private int stroke;//笔画
    private boolean isShowed;//是否已经出现过
    private int grage;//等级
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getWord() {
        return word;
    }
    public void setWord(String word) {
        this.word = word;
    }
    public int getStroke() {
        return stroke;
    }
    public void setStroke(int stroke) {
        this.stroke = stroke;
    }
    public boolean isShowed() {
        return isShowed;
    }
    public void setShowed(boolean isShowed) {
        this.isShowed = isShowed;
    }
    public int getGrage() {
        return grage;
    }
    public void setGrage(int grage) {
        this.grage = grage;
    }
    @Override
    public String toString() {
        return "word = " + word + " isShowed + " + isShowed;
    }

}
